package com.beta.dto.admin;

import java.io.Serializable;
import java.util.List;

/**
 * Created by vector on 2016/12/29.
 */
public class MenuDto implements Serializable {

    private Integer id;

    private String path;

    private String icon;

    private String name;

    private Integer parentId;

    private List<MenuDto> children;

    private String actions;

    public Integer getId() {
        return id;
    }

    public MenuDto setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getPath() {
        return path;
    }

    public MenuDto setPath(String path) {
        this.path = path;
        return this;
    }

    public String getIcon() {
        return icon;
    }

    public MenuDto setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public String getName() {
        return name;
    }

    public MenuDto setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getParentId() {
        return parentId;
    }

    public MenuDto setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public List<MenuDto> getChildren() {
        return children;
    }

    public MenuDto setChildren(List<MenuDto> children) {
        this.children = children;
        return this;
    }

    public String getActions() {
        return actions;
    }

    public MenuDto setActions(String actions) {
        this.actions = actions;
        return this;
    }
}
